package com.wl.cloud.system.support.dto;

import com.wl.cloud.core.dto.AbstractBaseDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @author: wanglin
 * @date: 2023-09-20 周三
 * @Version: 1.0
 * @Description:
 */
@Schema(description = "角色信息")
@Data
public class RoleRightsDTO extends AbstractBaseDTO {
    @NotBlank(message = "角色编号不能为空")
    @Schema(description = "角色id")
    private String roleId;
    @NotEmpty(message = "角色权限id不能为空")
    @Schema(description = "角色权限id")
    private List<String> rights;
}
